a = [1,5,21,30,15,9,30,24]
b=[]
for i in a:
    if i%5==0:
       b.append(i)
print(b)
print(sum(b))